package org.scaffold.config;

import org.scaffold.jdbc.DbHandle;
import org.scaffold.jdbc.JdbcTypeNotFoundException;


/**
 * JdbcType 生成器助手
 */
public class JdbcTypeOptionConfigHandle extends PutIntoMapOptionHandleConfig {

    @Override
    public void config(GenerateConfig config) throws JdbcTypeNotFoundException, ClassNotFoundException {
        String key = GenerateConfig.jdbcType.keySet().iterator().next();
        String value = GenerateConfig.jdbcType.get(key);
        DbHandle.setJdbcTypeConfig(key,value);
    }
}
